package com.hhf.demo_06;

import com.hhf.domo_05.Mythread;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

/**
 * @Author: 黄恒锋
 * @DateTime: 2024/5/12 16:50
 * @Description: TODO
 */
public class App {

    public static void main(String[] args) {
        List<Integer> list = new ArrayList<>();
        Collections.addAll(list,10,2,33,222,334,3,55,366,665,6,9,1111,8,5555,66,14,9100,10000);
        MyThread t1 = new MyThread(list);
        MyThread t2= new MyThread(list);
        t1.start();
        t2.start();
    }
}
